package com.qwe.graduation.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 视频表
 * </p>
 *
 * @author 林卓锋
 * @since 2023-01-17
 */
@Getter
@Setter
  @ApiModel(value = "Video对象", description = "视频表")
public class Video implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("视频id")
        private String id;

      @ApiModelProperty("标题")
      private String headline;

      @ApiModelProperty("视频地址")
      private String videoSite;

      @JsonFormat( timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("创建时间")
      private Date createTime;

      @ApiModelProperty("创建人id")
      private String createBy;

      @JsonFormat( timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("修改时间")
      private Date updateTime;

      @ApiModelProperty("修改人id")
      private String updateBy;

      @ApiModelProperty("资讯归属（0为粤语，1为壮语，2为闽南语）")
      private String module;


}
